package com.zy.service;

import com.mybatisflex.core.service.IService;
import com.zy.entity.AiQuestion;

import java.util.List;

/**
 * @InterfaceName: IAiQuestionService
 * @Description:
 * @Author: zhangyan
 * @Date: 2025-09-05 18:40
 **/
public interface IAiQuestionService extends IService<AiQuestion> {
    void saveQuestionEmbedding(String question,String answer, List<Double> embedding);

    List<?> searchSimilarQuestions(List<Double> embedding, int topK);
}
